package day1;

public class Test4{
    public static void main(String[] args)
    {
        // 主函数s
        Student stu = new Student();
        stu.name = "管浩杰";
        stu.drawing();
        stu.swimming();
        stu.introduce();
    }
}
// 学生类
class Student{
    String name;
    int age;

    // 画画
    public void drawing()
    {
        System.out.println(name + "画画了");
    }
    // 游泳
    public void swimming()
    {
        System.out.println(name + "游了个泳");
    }

    public void introduce()
    {
        System.out.println("我叫" + name + ", 我今年" + age + "岁了！");
    }
}